package com.test13;

import org.junit.Test;

public class MyTest_01 {

    @Test
    public void test1() {
        StringBuffer buffer = new StringBuffer(30);
        buffer.append("www.yootk.com").insert(0, "沐言科技：");
        System.out.println("【数据删除】" + buffer.delete(0, 5));
        System.out.println("【数据替换】" + buffer.replace(0, 13, "edu.yootk.com"));
        System.out.println("【数据反转】" + buffer.reverse());
    }
}
